package com.ai.entity.made;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiaok
 * @since 2024-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("algorithm_server_relation")
@ApiModel(value="AlgorithmServerRelation对象", description="")
public class AlgorithmServerRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "服务器id")
    private Integer serverId;

    @ApiModelProperty(value = "功能id")
    private Integer functionId;

    @ApiModelProperty(value = "算法程序id")
    private Integer algorithmId;

    @ApiModelProperty(value = "启停程序文件路径")
    private String algorithmFilePath;

    @ApiModelProperty(value = "算法状态（0：未启动，1：启动，2：异常）")
    private String algorithmState;

    @ApiModelProperty(value = "是否启用（0：未启用，1：启用）")
    private String isAvailable;

    private String createUser;

    private LocalDateTime createTime;

    private String updateUser;

    private LocalDateTime updateTime;


}
